home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C++ / Applications / HyperCuber 2.0 / source / CHyperScrollBar.h < prev    next >
Encoding:
Text File  |  1993-09-24  |  722 b   |  29 lines  |  [TEXT/KAHL]

  1. //|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2. //| CHyperScrollBar
  3. //|
  4. //| This is the interface to  a pane containing a number which reflects
  5. //| the setting of a scroll bar
  6. //|______________________________________________________________________
  7.  
  8. #include <CScrollBar.h>
  9.  
  10. class CHyperScrollBar : public CScrollBar
  11.     {
  12.     
  13.     Boolean fWrap;                    //  TRUE if the bar should wrap-around
  14.     
  15.   public:
  16.  
  17.     void    IHyperScrollBar(CView *enclosure, CBureaucrat *supervisor,
  18.                             Orientation orientation, short length,
  19.                             short horiz, short vert, Boolean wrap);
  20.     void    Dispose(void);
  21.     
  22.     void    SetValue(short value);
  23.  
  24.     void    DoClick(Point hitPt, short modifierKeys, long when);
  25.  
  26.     void    TrackThumb(void);
  27.     
  28.     };
  29.